package com.zzg.datastructure.linkedlist;

import lombok.ToString;

/**
 * @Author zhengzg
 * @Date 2022-08-17
 * @Version v1.0
 */
@ToString(exclude = {"next","pre"})
public class HeroNode2 {

    /**
     * 编号
     */
    public int no;

    /**
     * 名称
     */
    public String name;

    /**
     * 绰号
     */
    public String nickName;

    /**
     * 指向下一个节点
     */
    public HeroNode2 next;

    /**
     * 指向前一个节点
     */
    public HeroNode2 pre;


    public HeroNode2(int no, String name, String nickName) {
        this.no = no;
        this.name = name;
        this.nickName = nickName;
    }
}
